///**
// * 主页js
// */




//首页
if(location.href=="http://jldrc.jl.gov.cn/" || location.href=="http://jldrc.jl.gov.cn/index.html"){

															//头--------------对应的内容--------整个，头+内容---------第几个-----内容中的第一个a-----------上一个的所有---------上一个的内容第一个a
_EsdDynamicTransformationScript.navTabChange = function (focusObjSelector, listObjSelector, mouseEventObjSelector, keyDownNum, listElementsSelector, prevMouseEventObjSelector, prevListObjsSelector) {
    var keydownName = "keydown.navKeydown_" + keyDownNum;
    var keydownName2 = keydownName + "_1";
    $(focusObjSelector).focus(function () {
		if ($(listObjSelector).is(":hidden")) {
			$(focusObjSelector).mouseover();
		}
        $(this).bind(keydownName, function (e) {
            if (e.shiftKey && e.keyCode == 9) {
                if (prevMouseEventObjSelector != "") {
					$(focusObjSelector).mouseout();
					$(prevMouseEventObjSelector + " a:eq(0)").mouseover();
					$(prevListObjsSelector).last().focus();
					$(this).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
					return false;
                } else{
					$(focusObjSelector).mouseout();
					//nav中上一级没有的，只有第一个
					_EsdDynamicTransformationScript.esdTagCircleNum5.mouseover();
					_EsdDynamicTransformationScript.esdTagANum5.focus();
					$(this).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
					return false;
				}
            } else if (e.keyCode == 9) {
				
            }
        });

    });
    $(focusObjSelector).blur(function () {
        $(this).unbind(keydownName);
    });
	
    $(listElementsSelector).last().focus(function () {
        $(this).bind(keydownName2, function (e) {
            if (e.shiftKey && e.keyCode == 9) {
			
            } else if (e.keyCode == 9) {
                $(focusObjSelector).mouseout();
            }
        });
    });
    $(listElementsSelector).last().blur(function () {
        $(this).unbind(keydownName2);
    });
};


_EsdDynamicTransformationScript.navArray = new Array();

// 导航第一个栏目
_EsdDynamicTransformationScript.nav1 = {}
_EsdDynamicTransformationScript.nav1.focusObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li1 a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav1.listObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li1 .zhx_nav_box1"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav1.mouseEventObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li1"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav1.keyDownNum = 1; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav1.listElementsSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li1 .zhx_nav_box1 a"; // 按tab聚焦后 展示列表中a链接的选择器(展示列表中第一个a标签)
_EsdDynamicTransformationScript.nav1.prevMouseEventObjSelector = ""; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav1.prevListObjsSelector = ""; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav1);  // 放到数组里循环

// 导航第二个栏目
_EsdDynamicTransformationScript.nav2 = {}
_EsdDynamicTransformationScript.nav2.focusObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li2 a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav2.listObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li2 .zhx_nav_box2"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav2.mouseEventObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li2"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav2.keyDownNum = 2; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav2.listElementsSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li2 .zhx_nav_box2 a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav2.prevMouseEventObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li1"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav2.prevListObjsSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li1 .zhx_nav_box1 a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav2);  // 放到数组里循环

// 导航第三个栏目
_EsdDynamicTransformationScript.nav3 = {}
_EsdDynamicTransformationScript.nav3.focusObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li3 a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav3.listObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li3 .zhx_nav_box3"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav3.mouseEventObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li3"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav3.keyDownNum = 3; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav3.listElementsSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li3 .zhx_nav_box3 .zhx_nav_box3_iframe ul a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav3.prevMouseEventObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li2"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav3.prevListObjsSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li2 .zhx_nav_box2 a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav3);  // 放到数组里循环

// 导航第四个栏目
_EsdDynamicTransformationScript.nav4 = {}
_EsdDynamicTransformationScript.nav4.focusObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li4 a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav4.listObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li4 .zhx_nav_box4"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav4.mouseEventObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li4"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav4.keyDownNum = 4; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav4.listElementsSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li4 .zhx_nav_box4 a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav4.prevMouseEventObjSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li3"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav4.prevListObjsSelector = ".zhx_nav_box .zhx_nav .zhx_nav_li3 .zhx_nav_box3 .zhx_nav_box3_iframe ul a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav4);  // 放到数组里循环


for(var i=0; i<_EsdDynamicTransformationScript.navArray.length; i++){

	_EsdDynamicTransformationScript.navTabChange(_EsdDynamicTransformationScript.navArray[i].focusObjSelector, _EsdDynamicTransformationScript.navArray[i].listObjSelector, 
		_EsdDynamicTransformationScript.navArray[i].mouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].keyDownNum, _EsdDynamicTransformationScript.navArray[i].listElementsSelector,
		_EsdDynamicTransformationScript.navArray[i].prevMouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].prevListObjsSelector);
}


//为了适应ie，导航对应的框最后一个a跳到下一个的头。与nav配对组合
$(".zhx_nav_box .zhx_nav .zhx_nav_li1 .zhx_nav_box1 a").last().focus(function (e) {
	$(this).bind("keydown.keydownss_1", function (e) {
		if(e.shiftKey&&e.keyCode==9){

		}else if (e.keyCode == 9) {
			$(".zhx_nav_box .zhx_nav .zhx_nav_li2 a:eq(0)").focus();
			$(".zhx_nav_box .zhx_nav .zhx_nav_li2 a:eq(0)").mouseover();
			return false;
		}
	});
});
$(".zhx_nav_box .zhx_nav .zhx_nav_li1 .zhx_nav_box1 a").last().blur(function () {
	$(this).unbind("keydown.keydownss_1");
});

$(".zhx_nav_box .zhx_nav .zhx_nav_li2 .zhx_nav_box2 a").last().focus(function (e) {
	$(this).bind("keydown.keydownss_2", function (e) {
		if(e.shiftKey&&e.keyCode==9){

		}else if (e.keyCode == 9) {
			$(".zhx_nav_box .zhx_nav .zhx_nav_li3 a:eq(0)").focus();
			$(".zhx_nav_box .zhx_nav .zhx_nav_li3 a:eq(0)").mouseover();
			return false;
		}
	});
});
$(".zhx_nav_box .zhx_nav .zhx_nav_li2 .zhx_nav_box2 a").last().blur(function () {
	$(this).unbind("keydown.keydownss_2");
});

$("#zhx_nav_box3 .zhx_nav_box3_iframe ul li:eq(1) a").focus(function (e) {
	$(this).bind("keydown.keydownss_3", function (e) {
		if(e.shiftKey&&e.keyCode==9){

		}else if (e.keyCode == 9) {
			$(".zhx_nav_box .zhx_nav .zhx_nav_li4 a:eq(0)").focus();
			$(".zhx_nav_box .zhx_nav .zhx_nav_li4 a:eq(0)").mouseover();
			return false;
		}
	});
});
$("#zhx_nav_box3 .zhx_nav_box3_iframe ul li:eq(1) a").blur(function () {
	$(this).unbind("keydown.keydownss_3");
});

$(".zhx_nav_box .zhx_nav .zhx_nav_li4 .zhx_nav_box4 a").last().focus(function (e) {
	$(this).bind("keydown.keydownss_4", function (e) {
		if(e.shiftKey&&e.keyCode==9){

		}else if (e.keyCode == 9) {
			$(".zhx_one_box .zhx_one_pic .zhx_one_pic_top ul li:eq(0) a").focus();
			return false;
		}
	});
});
$(".zhx_nav_box .zhx_nav .zhx_nav_li4 .zhx_nav_box4 a").last().blur(function () {
	$(this).unbind("keydown.keydownss_4");
});

		







//将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
	jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
	jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
	jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-1];
	jsObj.self = iframeObj;
};

//声明iframe操作对象
_EsdDynamicTransformationScript.iframe1 = {};
_EsdDynamicTransformationScript.iframe2 = {};

_EsdDynamicTransformationScript.iframeElement1 = document.getElementsByTagName("iframe")[2];   // 需要修改 这里的iframe获取
_EsdDynamicTransformationScript.iframeElement2 = document.getElementsByTagName("iframe")[3];   // 需要修改 这里的iframe获取


//选项卡标签 jquery对象---公务员
_EsdDynamicTransformationScript.iframeTab1 = $(".zhx_two_zyxxzczz .zhx_two_zyxxzczz_bottom .zhx_two_zyxxzczz_bottom_top ul li:eq(0) a");  // 需要修改
																																			// 这里的tab获取
_EsdDynamicTransformationScript.iframeTab2 = $(".zhx_two_zyxxzczz .zhx_two_zyxxzczz_bottom .zhx_two_zyxxzczz_bottom_top ul li:eq(1) a");  // 需要修改
																																			// 这里的tab获取



//判断iframe是否有效
if((_EsdDynamicTransformationScript.iframeElement1!=undefined) && (_EsdDynamicTransformationScript.iframeElement2!=undefined)){

	// 当iframe都加载完毕后执行代码 使用setInterval
	_EsdDynamicTransformationScript.iframeInterval = setInterval(function(){	
		
		if((_EsdDynamicTransformationScript.iframeElement1.contentWindow.document.getElementsByTagName("a")[0]!=undefined) 
				&& (_EsdDynamicTransformationScript.iframeElement2.contentWindow.document.getElementsByTagName("a")[0]!=undefined) ){
			clearInterval(_EsdDynamicTransformationScript.iframeInterval);

//通过方法赋值
_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe1,_EsdDynamicTransformationScript.iframeElement1);  // 需要修改
																																		// 这里的iframe获取
_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe2,_EsdDynamicTransformationScript.iframeElement2);  // 需要修改
																																		// 这里的iframe获取

		
		// 第一个标签 切换
		_EsdDynamicTransformationScript.iframeTab1.focus(function (e) {
		 e = $(this).mouseover();
		 $(this).bind("keydown.iframeKeydown_1", function (e) {
		     if (e.shiftKey && e.keyCode == 9) {
		         _EsdDynamicTransformationScript.iframeTab1.trigger("blur");
		         $("#zhx_box0 .zhx_two_box .zhx_two_zfxxgk .zhx_two_zfxxgk_bottom a").last().focus();
		         return false;
		     } else if (e.keyCode == 9) {
		         _EsdDynamicTransformationScript.iframeTab1.trigger("blur");
		         $(_EsdDynamicTransformationScript.iframe1.self).focus();
		         return false;
		     }
		 });
		});
		_EsdDynamicTransformationScript.iframeTab1.blur(function () {
		 $(this).unbind("keydown.iframeKeydown_1");
		});
		
		// 第一个标签的第一个链接
		$(_EsdDynamicTransformationScript.iframe1.first_aLink).focus(function () {
		 $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
		     if (e.shiftKey && e.keyCode == 9) {
		         $(this).trigger("blur");
		         _EsdDynamicTransformationScript.iframeTab1.focus();
		         return false;
		     } else if (e.keyCode == 9) {
				
		     }
		 });
		});
		$(_EsdDynamicTransformationScript.iframe1.first_aLink).blur(function () {
		 $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
		});
		
		// 第一个标签的最后一个链接
		$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus(function () {
		 $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
		     if (e.shiftKey && e.keyCode == 9) {
				
		     } else if (e.keyCode == 9) {
				 $(this).trigger("blur");
		         _EsdDynamicTransformationScript.iframeTab2.focus();
		         return false;
		     }
		 });
		});
		$(_EsdDynamicTransformationScript.iframe1.last_aLink).blur(function () {
		 $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
		});
		
		
		// 第二个标签切换
		_EsdDynamicTransformationScript.iframeTab2.focus(function (e) {
		 e = $(this).mouseover();
		 $(this).bind("keydown.iframeKeydown_2", function (e) {
		     if (e.shiftKey && e.keyCode == 9) {
		         _EsdDynamicTransformationScript.iframeTab2.trigger("blur");
		         _EsdDynamicTransformationScript.iframeTab1.mouseover();
		         $(_EsdDynamicTransformationScript.iframe1.last_aLink).focus();
		         return false;
		     } else if (e.keyCode == 9) {
		         _EsdDynamicTransformationScript.iframeTab2.trigger("blur");
		         $(_EsdDynamicTransformationScript.iframe2.self).focus();
		         return false;
		     }
		 });
		
		});
		_EsdDynamicTransformationScript.iframeTab2.blur(function () {
		 $(this).unbind("keydown.iframeKeydown_2");
		});

		}
		
	}, 500);

}




	

//第一部分 ----政策法规
	//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num1 = $("#zhx_nav_box4 #zhx_nav_box4_bottom ul:eq(0) li").length-1;
_EsdDynamicTransformationScript.num2 = $("#zhx_nav_box4 #zhx_nav_box4_bottom ul:eq(1) li").length-1;
	
	//各个选项名称
_EsdDynamicTransformationScript.esdTagNum1 = $("#zhx_nav_box4 .zhx_nav_box4_top ul li:eq(0) a");
_EsdDynamicTransformationScript.esdTagNum2 = $("#zhx_nav_box4 .zhx_nav_box4_top ul li:eq(1) a");
	
	//各个选项中的第一个内容
_EsdDynamicTransformationScript.esdTagNum1Content1 = $("#zhx_nav_box4_bottom ul:eq(0) li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esdTagNum2Content1 = $("#zhx_nav_box4_bottom ul:eq(1) li:eq(0) a:eq(0)");
	
	//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esdTagNum1ContentN = $("#zhx_nav_box4_bottom ul:eq(0) li:eq("+_EsdDynamicTransformationScript.num1+") a:eq(1)");
_EsdDynamicTransformationScript.esdTagNum2ContentN = $("#zhx_nav_box4_bottom ul:eq(1) li:eq("+_EsdDynamicTransformationScript.num2+") a:eq(1)");
	
	//第一块
	_EsdDynamicTransformationScript.esdTagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$("#zhx_box0 .zhx_nav_box .zhx_nav .zhx_nav_li4 a:eq(0)").focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagNum1.blur(function () {
		
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esdTagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esdTagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$("#zhx_nav_box4_bottom ul:eq(0) li:eq(8) a:eq(1)").focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum2.mouseover();
				_EsdDynamicTransformationScript.esdTagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esdTagNum2.focus(function (e) {
		console.log("进入第二块");
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTagNum1.mouseover();
				_EsdDynamicTransformationScript.esdTagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});
	
	
//第二部分-----图片新闻
	//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num4 = 4;
_EsdDynamicTransformationScript.num5 = $("#video_news dl a").length-1;
	
	//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $(".zhx_one_box .zhx_one_pic .zhx_one_pic_top ul li:eq(0) a");
_EsdDynamicTransformationScript.esd2TagNum2 = $(".zhx_one_box .zhx_one_pic .zhx_one_pic_top ul li:eq(1) a");
	
	//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".zhx_one_pic_bottom .pic_news .pic_news_title a:first");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $("#video_news dl a:first");
	
	//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".zhx_one_pic_bottom .pic_news .pic_news_title a:last");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $("#video_news dl a:last");
	

//第一块图片新闻里的信息
//原点
_EsdDynamicTransformationScript.esd21TagNum1Circle1 = $(".zhx_one_pic_bottom .pic_news .wrapper>ul li:eq(0)");
_EsdDynamicTransformationScript.esd21TagNum1Circle2 = $(".zhx_one_pic_bottom .pic_news .wrapper>ul li:eq(1)");
_EsdDynamicTransformationScript.esd21TagNum1Circle3 = $(".zhx_one_pic_bottom .pic_news .wrapper>ul li:eq(2)");
_EsdDynamicTransformationScript.esd21TagNum1Circle4 = $(".zhx_one_pic_bottom .pic_news .wrapper>ul li:eq(3)");
_EsdDynamicTransformationScript.esd21TagNum1Circle5 = $(".zhx_one_pic_bottom .pic_news .wrapper>ul li:eq(4)");

//a标签
_EsdDynamicTransformationScript.esd21TagNum1A1 = $(".zhx_one_pic_bottom .pic_news .pic_news_title a:eq(0)");
_EsdDynamicTransformationScript.esd21TagNum1A2 = $(".zhx_one_pic_bottom .pic_news .pic_news_title a:eq(1)");
_EsdDynamicTransformationScript.esd21TagNum1A3 = $(".zhx_one_pic_bottom .pic_news .pic_news_title a:eq(2)");
_EsdDynamicTransformationScript.esd21TagNum1A4 = $(".zhx_one_pic_bottom .pic_news .pic_news_title a:eq(3)");
_EsdDynamicTransformationScript.esd21TagNum1A5 = $(".zhx_one_pic_bottom .pic_news .pic_news_title a:eq(4)");


	//第一块
	_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {
		//这个触发要放到上一个a的tab判定里面
//		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(_EsdDynamicTransformationScript.nav4.focusObjSelector).mouseover();
				_EsdDynamicTransformationScript.esdTagNum2.mouseover();
				$(_EsdDynamicTransformationScript.nav4.listElementsSelector).last().focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle1.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd21TagNum1A1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle2.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd21TagNum1A1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd21TagNum1A2.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle1.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle3.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd21TagNum1A2.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd21TagNum1A3.focus(function () {
		$(this).bind("keydown.keydown_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle2.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A2.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle4.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A4.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd21TagNum1A3.blur(function () {
		$(this).unbind("keydown.keydown_s3");
	});

	_EsdDynamicTransformationScript.esd21TagNum1A4.focus(function () {
		$(this).bind("keydown.keydown_s4", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle3.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A3.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd21TagNum1Circle5.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A5.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd21TagNum1A4.blur(function () {
		$(this).unbind("keydown.keydown_s4");
	});

	_EsdDynamicTransformationScript.esd21TagNum1A5.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd21TagNum1Circle4.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A4.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd2TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd21TagNum1A5.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
//		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1Circle5.mouseover();
				_EsdDynamicTransformationScript.esd21TagNum1A5.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});
	
//第三部分---委工作动态
	//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num6 = $("#zhx_one_job_bottom ul:eq(0) li").length-1;
_EsdDynamicTransformationScript.num7 = $("#zhx_one_job_bottom ul:eq(1) li").length-1;
_EsdDynamicTransformationScript.num8 = $("#zhx_one_job_bottom ul:eq(2) li").length-1;
_EsdDynamicTransformationScript.num9 = $("#zhx_one_job_bottom ul:eq(3) li").length-1;
_EsdDynamicTransformationScript.num10 = $("#zhx_one_job_bottom ul:eq(4) li").length-1;
	
	//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $(".zhx_one_job .zhx_one_job_top ul li:eq(0) a");
_EsdDynamicTransformationScript.esd3TagNum2 = $(".zhx_one_job .zhx_one_job_top ul li:eq(1) a");
_EsdDynamicTransformationScript.esd3TagNum3 = $(".zhx_one_job .zhx_one_job_top ul li:eq(2) a");
_EsdDynamicTransformationScript.esd3TagNum4 = $(".zhx_one_job .zhx_one_job_top ul li:eq(3) a");
_EsdDynamicTransformationScript.esd3TagNum5 = $(".zhx_one_job .zhx_one_job_top ul li:eq(4) a");
	
	//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $("#zhx_one_job_bottom ul:eq(0) li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $("#zhx_one_job_bottom ul:eq(1) li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum3Content1 = $("#zhx_one_job_bottom ul:eq(2) li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum4Content1 = $("#zhx_one_job_bottom ul:eq(3) li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum5Content1 = $("#zhx_one_job_bottom ul:eq(4) li:eq(0) a:eq(0)");
	
	//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $("#zhx_one_job_bottom ul:eq(0) li:eq("+_EsdDynamicTransformationScript.num6+") a:eq(1)");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $("#zhx_one_job_bottom ul:eq(1) li:eq("+_EsdDynamicTransformationScript.num7+") a:eq(1)");
_EsdDynamicTransformationScript.esd3TagNum3ContentN = $("#zhx_one_job_bottom ul:eq(2) li:eq("+_EsdDynamicTransformationScript.num8+") a:eq(1)");
_EsdDynamicTransformationScript.esd3TagNum4ContentN = $("#zhx_one_job_bottom ul:eq(3) li:eq("+_EsdDynamicTransformationScript.num9+") a:eq(1)");
_EsdDynamicTransformationScript.esd3TagNum5ContentN = $("#zhx_one_job_bottom ul:eq(4) li:eq("+_EsdDynamicTransformationScript.num10+") a:eq(1)");
	
	//第一块
	_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(".zhx_one_box .zhx_one_pic .zhx_one_pic_top ul li:eq(1) a").mouseover();
				return true;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	//第二块
	_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
		$(this).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
		$(this).unbind("keydown.keydown_3");
	});

	_EsdDynamicTransformationScript.esd3TagNum3Content1.focus(function () {
		$(this).bind("keydown.keydown_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum3.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd3TagNum3Content1.blur(function () {
		$(this).unbind("keydown.keydown_s3");
	});

	_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus(function () {
		$(this).bind("keydown.keydown_e3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum4.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum3ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esd3TagNum4.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd3TagNum3.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum4Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum4.blur(function () {
		$(this).unbind("keydown.keydown_4");
	});

	_EsdDynamicTransformationScript.esd3TagNum4Content1.focus(function () {
		$(this).bind("keydown.keydown_s4", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum4.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd3TagNum4Content1.blur(function () {
		$(this).unbind("keydown.keydown_s4");
	});

	_EsdDynamicTransformationScript.esd3TagNum4ContentN.focus(function () {
		$(this).bind("keydown.keydown_e4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum5.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum4ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e4");
	});
	
	//第五块
	_EsdDynamicTransformationScript.esd3TagNum5.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd3TagNum4.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum4ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum5Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum5.blur(function () {
		$(this).unbind("keydown.keydown_5");
	});
	
	
//第四部分	
	
	
	
	
	
	

//第五部分

	//三层  


	//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num13 = $("#zhx_three_xglj_bottom_bottom ul:eq(0) li").length-1;
_EsdDynamicTransformationScript.num14 = $("#zhx_three_xglj_bottom_bottom ul:eq(1) li").length-1;
_EsdDynamicTransformationScript.num15 = $("#zhx_three_xglj_bottom_bottom ul:eq(2) li").length-1;
	
	//各个选项名称
_EsdDynamicTransformationScript.esd5TagNum1 = $("#zhx_three_xglj_bottom_top ul li:eq(0) a");
_EsdDynamicTransformationScript.esd5TagNum2 = $("#zhx_three_xglj_bottom_top ul li:eq(1) a");
_EsdDynamicTransformationScript.esd5TagNum3 = $("#zhx_three_xglj_bottom_top ul li:eq(2) a");
	
	//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd5TagNum1Content1 = $("#zhx_three_xglj_bottom_bottom ul:eq(0) li:eq(0) a");
_EsdDynamicTransformationScript.esd5TagNum2Content1 = $("#zhx_three_xglj_bottom_bottom ul:eq(1) li:eq(0) a");
_EsdDynamicTransformationScript.esd5TagNum3Content1 = $("#zhx_three_xglj_bottom_bottom ul:eq(2) li:eq(0) a");
	
	//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd5TagNum1ContentN = $("#zhx_three_xglj_bottom_bottom ul:eq(0) li:eq("+_EsdDynamicTransformationScript.num13+") a");
_EsdDynamicTransformationScript.esd5TagNum2ContentN = $("#zhx_three_xglj_bottom_bottom ul:eq(1) li:eq("+_EsdDynamicTransformationScript.num14+") a");
_EsdDynamicTransformationScript.esd5TagNum3ContentN = $("#zhx_three_xglj_bottom_bottom ul:eq(2) li:eq("+_EsdDynamicTransformationScript.num15+") a");
	
	//底部iframe块
_EsdDynamicTransformationScript.esd6Iframe = document.getElementsByTagName("iframe")[5];
_EsdDynamicTransformationScript.esd6IframeFirstA = document.getElementsByTagName("iframe")[5].contentWindow.document.getElementsByTagName("a")[0];
	
	//第一块
	_EsdDynamicTransformationScript.esd5TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd5TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd5TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	//第二块
	_EsdDynamicTransformationScript.esd5TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd5TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd5TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd5TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd5TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus(function () {
		$(this).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd5TagNum3.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd5TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd5TagNum3.blur(function () {
		$(this).unbind("keydown.keydown_3");
	});
	
	_EsdDynamicTransformationScript.esd5TagNum3ContentN.focus(function () {
		$(this).bind("keydown.keydown_e3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				$(_EsdDynamicTransformationScript.esd6Iframe).focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum3ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e3");
	});
	
	
	

	
	
	
	
	
	
}